<!doctype html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>二次衔接上报查看</title>
    <script src="/webjars/miniui/boot.js" type="text/javascript"></script>
    <link href="/static/css/resource.css" rel="stylesheet" type="text/css" />
    <script src="/static/js/common/common.js" type="text/javascript"></script>
    <link href="/webjars/miniui/css/demo.css" rel="stylesheet" type="text/css" />
    <link href="/static/css/default.css" rel="stylesheet" type="text/css" />
    <link href="/static/css/voiceinteraction/voiceinteraction.css" rel="stylesheet" type="text/css" />
    <style>
        .discell {
            text-align:right;
            width:30%;
        }
        .input {
            width:70%;
        }
        table {
            border-collapse:separate;
            border-spacing:10px;
        }
        .showText {
            color:#0b80ef;
        }
    </style>
</head>
<body>
<div class="mini-fit" style="margin-bottom: 40px;">
    <form id="form1" method="post" style="height:100%;width: 100%;overflow-x: auto;overflow-y: auto;">
        <!-- 用户 编辑框START-->
        <div id="editform" class="form" style="padding:10px;">
            <input name="id" id="id" class="mini-hidden" style="width: 100%;" readonly value="${id!''}" />
            <input name="priNum" id="priNum" class="mini-hidden" style="width: 100%" readonly value="${priNum!''}" />
            <table class="form-table" align="center">
                <tr>
                    <td style="font-weight: bold;text-align: left">看守所信息:</td>
                </tr>
                <tr>
                    <td class="discell">看守所联系人:</td>
                    <td class="showText">${jylxr!''}</td>
                </tr>
                <tr>
                    <td class="discell">看守所手机号码:</td>
                    <td class="showText">${jyphone!''}</td>
                </tr>
                <tr>
                    <td class="discell">看守所固话:</td>
                    <td class="showText">${jytel!''}</td>
                </tr>
                <tr>
                    <td class="discell">上传附件:</td>
                    <td class="input">
                        <input type="button" onclick="onFileUpload()" value="查看" style="width: 150px" />
                    </td>
                </tr>
                <tr>
                    <td class="discell">看守所意见:</td>
                    <td class="showText">${jyyj!''}</td>
                </tr>
                <tr>
                    <td style="font-weight: bold;text-align: left">监管总队信息:</td>
                </tr>
                <tr>
                    <td class="discell">监管总队意见:</td>
                    <td class="showText">${jyjyj!''}</td>
                </tr>
                <tr>
                    <td style="font-weight: bold;text-align: left">司法厅信息:</td>
                </tr>
                <#if secondstate?? && secondstate == "3">
                    <tr>
                        <td class="discell">司法所所在省:</td>
                        <td class="showText">${secondprovince!''}</td>
                    </tr>
                    <tr>
                        <td class="discell">司法所所在地市:</td>
                        <td class="showText">${secondcity!''}</td>
                    </tr>
                    <tr>
                        <td class="discell">司法所所在区县:</td>
                        <td class="showText">${secondcounty!''}</td>
                    </tr>
                    <tr>
                        <td class="discell">司法所所在街道:</td>
                        <td class="showText">${secondstreet!''}</td>
                    </tr>
                </#if>
                <#if secondstate?? && (secondstate == "4" || secondstate = "5" || secondstate = "6" || secondstate = "7") >
                    <tr>
                        <td class="discell">司法厅联系人:</td>
                        <td class="showText">${sftlxr!''}</td>
                    </tr>
                    <tr>
                        <td class="discell">司法厅手机号码:</td>
                        <td class="showText">${sftphone!''}</td>
                    </tr>
                    <tr>
                        <td class="discell">司法厅固话:</td>
                        <td class="showText">${sfttel!''}</td>
                    </tr>
                    <tr>
                        <td class="discell">司法厅意见:</td>
                        <td class="showText">${sftyj!''}</td>
                    </tr>
                </#if>
            </table>
        </div>
    </form>
</div>
<div style="position: absolute;bottom: 0;line-height:40px;width: 100%;border-top:1px solid #dfdfdf;text-align: center">
    <a class="mini-button" iconCls="fa-close" plain="true" onclick="onCancel()">取消</a>
</div>
<script type="text/javascript">
    // 上传附件
    function onFileUpload() {//taskId为2是衔接信息的附件
        var nouploadflag = "5000";
        commonEdit("/upload/user/queryAppendixfile/view?1=1&id=${xjxxId!''}&priNum=${priNum!''}&taskId=35" + "&nouploadflag=" + nouploadflag, null, null, 600, 400, true, true, true);
    }
</script>
</body>
</html>